Skip to content

Conversation

@mholowni
Copy link
Contributor

@mholowni mholowni commented Jan 8, 2026

Description

Merged gvamotiondetect into gstvideoanalytics library to reduce number of .so/.dll files

Any Newly Introduced Dependencies

N/A

How Has This Been Tested?

Build was tested and it was verified that gvamotiondetect element is present.

Checklist:

  • I agree to use the MIT license for my code changes.
  • I have not introduced any 3rd party components incompatible with MIT.
  • I have not included any company confidential information, trade secret, password or security token.
  • I have performed a self-review of my code.

@yunowo yunowo requested a review from Copilot January 9, 2026 02:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR consolidates the gvamotiondetect GStreamer element into the main gstvideoanalytics library, eliminating the need for a separate shared library (.so/.dll file). The changes involve removing the standalone CMake build configuration for gvamotiondetect and integrating its source files, dependencies, and registration logic directly into the gstvideoanalytics library build system.

Key changes:

  • Removed standalone plugin initialization code from gvamotiondetect source files
  • Integrated gvamotiondetect registration into the central plugin registrator
  • Consolidated build configuration by removing separate CMakeLists.txt and merging dependencies into the main elements build

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/monolithic/gst/registrator/register_elements.cpp Added gvamotiondetect header include and element registration call
src/monolithic/gst/registrator/CMakeLists.txt Added gvamotiondetect directory to include paths
src/monolithic/gst/elements/gvamotiondetect/gvamotiondetect_win.cpp Removed duplicate copyright header, removed standalone plugin registration code, updated copyright year
src/monolithic/gst/elements/gvamotiondetect/gvamotiondetect.cpp Added [[maybe_unused]] attributes to suppress warnings, removed standalone plugin registration code, updated copyright year
src/monolithic/gst/elements/gvamotiondetect/CMakeLists.txt Deleted entire standalone CMake build configuration
src/monolithic/gst/elements/CMakeLists.txt Added gvamotiondetect source files, headers, include directories, and dependencies to main elements build
docker/fedora41/fedora41.Dockerfile Added ocl-icd-devel package dependency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mholowni mholowni requested a review from yunowo January 9, 2026 10:54
@mholowni mholowni requested review from Copilot and yunowo January 12, 2026 07:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mholowni mholowni changed the base branch from master to main January 12, 2026 08:25
@mholowni mholowni merged commit 5fd779c into main Jan 12, 2026
27 of 28 checks passed
@mholowni mholowni deleted the mh-merge-motion branch January 12, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants